package unit3.ball;

public class Ball {
    String mc;
    String zj;
    String cz;
    String zl;
    String rq;
    public String getMc(){
        return mc;
    }
    public void setMc(String mc){
        this.mc=mc;
    }
    public String getZj() {
        return zj;
    }
    public void setZj(String zj){
        this.zj=zj;
    }
    public String getCz() {
        return cz;
    }
    public void setCz(String cz){
        this.cz=cz;
    }
    public String getZl() {
        return zl;
    }
    public void setZl(String zl){
        this.zl=zl;
    }
    public String getRq() {
        return rq;
    }
    public void setRq(String rq) {
        this.rq = rq;
    }
     Ball(String mc,String zj,String cz,String zl,String rq){
        this.mc=mc;
        this.zj=zj;
        this.cz=cz;
        this.zl=zl;
        this.rq=rq;
    }
    String ball(){
        String b="我是"+mc+","+"我的直径是"+zj+","+"我的材质是"+cz+","
                +"我的重量是"+zl+","+"我适合的人群是"+rq;
        return b;
    }
}
